package com.community.itelligentcommunity.community.myCommunity.service;

import com.community.itelligentcommunity.common.base.dao.GenericDao;
import com.community.itelligentcommunity.common.base.service.GenericService;
import com.community.itelligentcommunity.community.myCommunity.dao.InformationDao;
import com.community.itelligentcommunity.community.myCommunity.entity.Information;
import com.community.itelligentcommunity.community.myCommunity.entity.QueryInformation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor={IllegalArgumentException.class})
public class InformationService extends GenericService<Information, QueryInformation> {

    @Autowired
    private InformationDao informationDao;

    @Override
    protected GenericDao<Information, QueryInformation> getDao() {
        return informationDao;
    }









}
